package com.sky.mapper.user;

import com.sky.pojo.AddressBook;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author:篍
 * @Date: 2025/08/29 20:57
 * @Description:
 */
@Mapper
public interface AddressBookMapper {

    List<AddressBook> list(AddressBook addressBook);

    void insert(AddressBook addressBook);

    AddressBook selectById(Long id);

    void update(AddressBook addressBook);

    void updateIsDefaultByUserId(AddressBook addressBook);

    void deleteById(Long id);
}
